package com.hiltony.web.mapper;

import com.hiltony.web.model.Medical;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by YX on 2016/10/23.
 *
 */
@Service
public interface MedicalMapper {

    Medical getMedicalById(Medical medical);

    List<Medical> getMedicalList(Medical medical);

    int addMedical(Medical medical);

    int addMedicalList(@Param("medicalList") List<Medical> medicalList);

    int updateMedical(Medical medical);

}
